projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e403ef
)
Pin lazily read bytecode (bug#53809)
author
Mattias Engdegård
<mattiase@acm.org>
Mon, 7 Feb 2022 16:36:11 +0000
(17:36 +0100)
committer
Mattias Engdegård
<mattiase@acm.org>
Mon, 7 Feb 2022 17:18:32 +0000
(18:18 +0100)
* src/eval.c (Ffetch_bytecode): Bytecode strings read lazily weren't
pinned as they must be. Do so.
Bug reported by Gregor Zattler.
src/eval.c
patch
|
blob
|
history
diff --git
a/src/eval.c
b/src/eval.c
index c87b1bc704cc357722131e9a1bac1c9ea31d1885..ae9b18da0bdd78cb646b4afca4fdb1f33eec04d3 100644
(file)
--- a/
src/eval.c
+++ b/
src/eval.c
@@
-3495,6
+3495,7
@@
DEFUN ("fetch-bytecode", Ffetch_bytecode, Sfetch_bytecode,
bytecode = Fstring_as_unibyte (bytecode);
}
+ pin_string (bytecode);
ASET (object, COMPILED_BYTECODE, bytecode);
ASET (object, COMPILED_CONSTANTS, XCDR (tem));
}